/**
 * output package name
 */
package com.kingdee.eas.crm.enumeration;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class ReturnEnum extends StringEnum
{
    public static final String UNRETURN_VALUE = "10";
    public static final String RETURNING_VALUE = "20";
    public static final String ALLRETURN_VALUE = "30";

    public static final ReturnEnum unReturn = new ReturnEnum("unReturn", UNRETURN_VALUE);
    public static final ReturnEnum returning = new ReturnEnum("returning", RETURNING_VALUE);
    public static final ReturnEnum allReturn = new ReturnEnum("allReturn", ALLRETURN_VALUE);

    /**
     * construct function
     * @param String returnEnum
     */
    private ReturnEnum(String name, String returnEnum)
    {
        super(name, returnEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ReturnEnum getEnum(String returnEnum)
    {
        return (ReturnEnum)getEnum(ReturnEnum.class, returnEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ReturnEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ReturnEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ReturnEnum.class);
    }
}